﻿////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// <copyright>Copyright 2008-2011 Andreas Huber Doenni</copyright>
// Distributed under the Microsoft Public License (Ms-PL).
// See accompanying file License.txt or copy at http://mews.codeplex.com/license.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

namespace Mews.Net.Nntp.Cache
{
    /// <summary>Provides constants for the names used in the Group table.</summary>
    internal static class GroupNames
    {
        internal const string Table = "Group";

        internal const string IdColumn = "Id";
        internal const string HostIdColumn = "HostId";
        internal const string NameColumn = "Name";
        internal const string DisplayNameColumn = "DisplayName";
        internal const string NewInboundArticlesReceiveLimitColumn = "NewInboundArticlesReceiveLimit";
        internal const string CachedInboundArticlesLimitColumn = "CachedInboundArticlesLimit";
        internal const string SelectedInboundArticleNumberColumn = "SelectedInboundArticleNumber";
        internal const string IsOriginalInboundArticleBeingWatchedFilterColumn =
            "IsOriginalInboundArticleBeingWatchedFilter";

        internal const string HasOriginalInboundArticleBeenReadFilterColumn = "HasOriginalInboundArticleBeenReadFilter";
        internal const string IsFollowupInboundArticleBeingWatchedFilterColumn =
            "IsFollowupInboundArticleBeingWatchedFilter";

        internal const string HasFollowupInboundArticleBeenReadFilterColumn = "HasFollowupInboundArticleBeenReadFilter";

        internal static readonly string[] InsertableColumns =
        {
            HostIdColumn,
            NameColumn,
            DisplayNameColumn,
            NewInboundArticlesReceiveLimitColumn,
            CachedInboundArticlesLimitColumn
        };

        internal const string HostIdNameIndex = "HostIdName";
    }
}
